package com.kingzoder.food.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.kingzoder.food.common.base.LogicDO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author ZoderKing
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("recipe_category")
public class RecipeCategory extends LogicDO {
    /**
     * 关联ID，自增主键
     */
    private Long id;
    /**
     * 食谱ID
     */
    private Long recipeId;
    /**
     * 分类ID
     */
    private Long categoryId;

}

